package com.huawei.appgallery.forum.posts.card;

import com.huawei.appgallery.forum.base.card.ForumCardBean;
import com.huawei.appgallery.forum.base.card.bean.Post;
import com.huawei.appgallery.forum.base.card.bean.Reply;
import com.huawei.appgallery.forum.base.card.bean.User;
import java.util.List;

public class ForumTopicCommentCardBean extends ForumCardBean {
    public static final String BUOYNAME = "buoyforumtopiccommentcard";
    public static final String NAME = "forumtopiccommentcard";
    private Post comment_;
    protected long controlledPoints;
    private boolean isBlank = false;
    private int like_;
    private int moreComment_;
    private List<Reply> replys_;
    private int sectionId_;
    private User user_;

    public ForumTopicCommentCardBean(boolean z) {
        this.isBlank = z;
    }

    public ForumTopicCommentCardBean(User user, Post post, int i, List<Reply> list, int i2, String str, int i3) {
        this.user_ = user;
        this.comment_ = post;
        this.like_ = i;
        this.replys_ = list;
        this.moreComment_ = i2;
        this.sectionId_ = i3;
        ˎ(str);
    }

    public int ˊ() {
        return this.sectionId_;
    }

    public void ˎ(int i) {
        this.like_ = i;
    }

    public void ˏ(int i) {
        this.moreComment_ = i;
    }

    public User ʽ() {
        return this.user_;
    }

    public Post ʼ() {
        return this.comment_;
    }

    public boolean ᐝ() {
        return this.like_ == 1;
    }

    public List<Reply> ͺ() {
        return this.replys_;
    }

    public int ˊॱ() {
        return this.moreComment_;
    }

    public boolean ˏॱ() {
        return this.isBlank;
    }

    public long ॱˊ() {
        return this.controlledPoints;
    }

    public void ˎ(long j) {
        this.controlledPoints = j;
    }

    public String ˋ() {
        if (this.comment_ != null) {
            return this.comment_.ˋॱ();
        }
        return super.ˋ();
    }
}
